package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.button.NxButton;
	import newx.com.control.tab.NxTab;
	import newx.com.control.table.NxTable;
	import newx.com.control.text.NxLabel;

	/**
	 * 邮件界面 
	 * @author liuel
	 * 
	 */	
	public class MailUI extends BaseUI
	{
		private static var 			_self:MailUI;
		public var tab 				:NxTab;
		public var tabBtnEmailIn		:NxButton;
		public var tabBtnEmailOut		:NxButton;
		
		public var btnEmailSelectAll   :NxButton;
		public var btnEmailDelSelect   :NxButton;
		public var btnEmailWrite       :NxButton;
		
		public var border				:MovieClip;		
		
		public var table				:NxTable;
		
		public var btnPre				:NxButton;
		public var btnNext				:NxButton;
		public var txtPage				:NxLabel;
		public var borderPage     		:MovieClip;
		public var panle				:MovieClip;
		public function MailUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		public static function getInstance():MailUI
		{
			if(null == _self)
			{
				_self = new MailUI();	
			}
			return _self;
		}
		
		override public function Init() : void
		{
			MailLogic.getInstance().Init();
		}
		override protected function	BeforeShow():void
		{
			MailLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			MailLogic.getInstance().AfterHide();
		}
	}
}